package com.hanj.gulimall.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/*
1 整合mybatis-plus（在common中引入）
2 配置数据源
    2.1 导入数据源驱动
    2.2 url,password,username
    2.3 在yaml中配置mybatis-plus指定mapper.xml配置文件的位置等(不写也行,mybatis-plus会扫描默认位置)
3 启动类加上@MapperScan扫描mapper接口(如果mapper接口写了@Mapper接口,则此步骤可省略)
 */

/**
 * @author hanj.cn@outlook.com
 */
@SpringBootApplication
@EnableDiscoveryClient
public class GulimallProductApplication {

    public static void main(String[] args) {

        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
